/**
 * Copyright 2008 Adam Ruggles.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package kiff.dao;

import kiff.entity.GlobalAcl;
import kiff.exception.DataLayerException;
import kiff.security.Acl;

/**
 * Interface for Global Access Control List Data Access Objects.
 * @author Adam
 * @version $Id: GlobalAclDAO.java 67 2008-11-24 06:55:33Z a.ruggles $
 * 
 * Created on Oct 22, 2008 at 9:42:00 PM 
 */
public interface GlobalAclDAO extends CoreDAO<GlobalAcl> {
	/**
	 * Name of the Find by Name named query.
	 */
	String FIND_BY_NAME = "Acl.findByName";
	/**
	 * Returns the Access Control List for a given name.
	 * @param name The name of the Access Control List.
	 * @return The <code>Acl</code>.
	 * @throws DataLayerException If an error occurs in the data layer.
	 */
	Acl findByName(String name) throws DataLayerException;
}
